<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
namespace plugins\crawler;
use cmf\lib\Plugin;

//plugin name
class CrawlerPlugin extends Plugin
{

    public $info = [
        'name'        => 'Crawler',
        'title'       => '自动采集文章',
        'description' => '自动采集其他网站文章，定时插入数据库',
        'status'      => 1,
        'author'      => 'guosheng',
        'version'     => '1.0',
        'demo_url'    => '',
        'author_url'  => 'http://www.fenxiangmiao.com'
    ];

    public $hasAdmin = 1;//插件是否有后台管理界面

    // 插件安装
    public function install()
    {
        //安装成功返回true，失败false
        return true;
    }

    // 插件卸载
    public function uninstall()
    {
        //卸载成功返回true，失败false
        return true;
    }


}